package com.demo.pattern.method;

import com.demo.pattern.abstractFactory.ComputerFactory;
import com.demo.pattern.entity.Keyboard;
import com.demo.pattern.entity.Mouse;
import com.demo.pattern.entity.TkKeyboard;
import com.demo.pattern.entity.TkMouse;

/**
 * @author linchong
 * @version 1.0
 * @Date: 2022-05-13 7:25
 * @Description: TkComputerFactory$
 */
public class TkComputerFactory implements ComputerFactory {
	@Override
	public Mouse createMouse() {
		return new TkMouse();
	}

	@Override
	public Keyboard createKeyboard() {
		return new TkKeyboard();
	}
}
